package org.example.service;


import org.example.entity.Category;
import org.example.entity.PageBean;

import java.util.List;

public interface CategoryService {
    boolean delete(Integer i);

    PageBean<Category> categoryByPage(Integer pageSize, Integer page, Integer categoryId, String categoryName, Integer category);

    boolean add(Category category);

    void update(Category category, Integer categoryId);

    List<String> categoryList();

    List<Category> allCategoryList();
}
